package com.xinpu.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinpu.mapper.HandoverApplyMapper;
import com.xinpu.service.HandoverApplyService;
import com.xinpu.vo.HandoverApplyVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HandoverApplyServiceImpl implements HandoverApplyService {
    @Autowired
    private HandoverApplyMapper handoverApplyMapper;

    @Override
    public IPage<HandoverApplyVo> list(Integer page, Integer size, String tenantId, String name, String start, String over, Integer status) {
        return handoverApplyMapper.list(new Page<>(page, size), tenantId, name, start, over, status);
    }
}
